package com.yhsoft.benefitcard.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yhsoft.benefitcard.controller.response.CardsDetailOutVo;
import com.yhsoft.benefitcard.controller.response.OrderCardOutVo;
import com.yhsoft.benefitcard.entity.CardsInfo;
import com.yhsoft.wxprogram.controller.response.BenefitCardOutVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 福利卡信息表 Mapper 接口
 * </p>
 *
 * @author yyyyyyyh
 * @since 2023-10-04
 */
public interface CardsInfoMapper extends BaseMapper<CardsInfo> {

    List<BenefitCardOutVo> selectBenefitCardOutVoList(@Param("ew") Wrapper wrapper);

    IPage<OrderCardOutVo> selectDetail(Page<OrderCardOutVo> voPage, @Param("ew")Wrapper wrapper);


    CardsDetailOutVo selectByCardNo(String cardNo);


}
